package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
/**
 * 机构类型关系
 * @author 杨光和
 * @Time
 */
@Table
@Entity
@IdClass(OrganTypeRelationPK.class)
public class OrganTypeRelation implements Serializable {

	private static final long serialVersionUID = 2765109892825952417L;
	
	private Integer scode;			// 干儿子
	private Integer gfpCode;		// sCode 的干爹编号
	
	
	@Id
	@Column
	public Integer getScode() {
		return scode;
	}
	@Id
	@Column
	public Integer getGfpCode() {
		return gfpCode;
	}
	
	
	
	public void setScode(Integer scode) {
		this.scode = scode;
	}
	public void setGfpCode(Integer gfpCode) {
		this.gfpCode = gfpCode;
	}
	
	
	
	
	
	

}
